<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker,ace-style"></t:base>
<div style="height:5px;"></div>
<t:datagrid name="customerList" checkbox="true" fitColumns="true"
	actionUrl="customerController.do?datagrid" idField="id" 
	queryMode="group">
	<t:dgCol title="主键ID" field="id" hidden="true" queryMode="group"
		></t:dgCol>
	<t:dgCol title="客户姓名" field="realName" queryMode="single"
		width="120" query="true"></t:dgCol>
	<t:dgCol title="住址" field="address" queryMode="group" width="120"></t:dgCol>
	<t:dgCol title="手机号码" field="mobilePhone" queryMode="group" width="120"></t:dgCol>
	<t:dgCol title="邮箱" field="email" queryMode="group" width="120"></t:dgCol>
	<t:dgCol title="注册时间" field="createDate" queryMode="group" width="120"></t:dgCol>
	<t:dgCol title="操作" field="opt" width="100"></t:dgCol>
	<t:dgDelOpt title="删除" url="customerController.do?doDel&id={id}" />
	<t:dgToolBar title="录入" icon="icon-add"
		url="customerController.do?goAddOrUpdate" funname="add"></t:dgToolBar>
	<t:dgToolBar title="编辑" icon="icon-edit"
		url="customerController.do?goAddOrUpdate" funname="update"></t:dgToolBar>
	<t:dgToolBar title="查看" icon="icon-search"
		url="customerController.do?goAddOrUpdate" funname="detail"></t:dgToolBar>

</t:datagrid>
 <script src = "webpage/material/customer/customerList.js"></script>	
